package com.sixth.controller;

import com.sixth.service.ShopkeeperchangeService;
import com.sixth.util.TableLayUi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: project01
 * @description:
 * @author: 高振杨
 * @create: 2021-12-20 21:40
 **/
@RestController
@RequestMapping("Shopkeeperchange")
public class ShopkeeperchangeController {
    @Autowired
    private ShopkeeperchangeService service;
    @RequestMapping("getAll")
    public TableLayUi getAll(int page, int limit,String timeFrame){
        return service.getall(page, limit,timeFrame);
    }
}
